@p: 0.0925925925vw;

.toast-wrapper {
    width: 100vw;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background-color: #00000066;
    z-index: 9999;

    .toast-bg {
        position: absolute;
        width: 100vw;
        height: 100vh;
        left: 0;
        top: 0;
    }

    .toast {
        position: absolute;
        background-color: #fff;
        left: 50%;
        top: 40%;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 480px;
        border-radius: 8px;
        padding: 20px;

        .toast-title {
            font-weight: bold;
            text-align: center;
            font-size: 20px;
            line-height: 40px;
        }

        .toast-content {
            font-size: 16px;
            line-height: 28px;
        }

        .toast-button {
            display: flex;
            justify-content: space-between;
            margin-top: 15px;
            width: 240px;

            button {
                border: none;
                outline: none;
                width: 110px;
                height: 36px;
                border-radius: 18px;
                font-size: 20px;
                line-height: 32px;
                border: 2px solid #ff5925;
                cursor: pointer;
            }

            .toast-cancel {
                background-color: white;
                color: #ff5925;
            }

            .toast-confirm {
                background-color: #ff5925;
                color: white;
            }
        }
    }

    .m-toast {
        width: 940 * @p;
        border-radius: 24 * @p;
        padding: 60 * @p;

        .m-toast-title {
            font-size: 52 * @p;
            line-height: 110 * @p;
        }

        .m-toast-content {
            font-size: 42 * @p;
            line-height: 72 * @p;
        }

        .m-toast-button {
            margin-top: 40 * @p;
            width: 680 * @p;

            button {
                width: 320 * @p;
                height: 100 * @p;
                border-radius: 45 * @p;
                font-size: 52 * @p;
                border: 2 * @p solid #ff5925;
            }
        }
    }
}
